package com.ruoyi.supply.dto;

import com.ruoyi.store.domain.Commodity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author 12469
 * @Date 2022/8/24 9:40
 * @PackageName:com.ruoyi.supply.dto
 * @ClassName: PurchaseOrderDto
 * @Description: TODO
 * @Version 1.0
 */
public class PurchaseOrderDto {
    //结算账户ID
    public Long accountId;
    public Long supplierId;//供应商
    public BigDecimal depositAmount;//定金
    public BigDecimal discountAmount;//优惠金额
    public BigDecimal totalAmount;//订单总额
    public List<Commodity> selectGoodsList = new ArrayList<>();

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public BigDecimal getDepositAmount() {
        return depositAmount;
    }

    public void setDepositAmount(BigDecimal depositAmount) {
        this.depositAmount = depositAmount;
    }

    public BigDecimal getDiscountAmount() {
        return discountAmount;
    }

    public void setDiscountAmount(BigDecimal discountAmount) {
        this.discountAmount = discountAmount;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public List<Commodity> getSelectGoodsList() {
        return selectGoodsList;
    }

    public void setSelectGoodsList(List<Commodity> selectGoodsList) {
        this.selectGoodsList = selectGoodsList;
    }
}
